Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE ME (Solutions ask ) (ABC-343) #517

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

clusty
Copy link
Contributor

@clusty clusty commented Nov 30, 2022

Arbitrary vertex attributes for meshes (polymesh and subD)

@clusty clusty marked this pull request as draft November 30, 2022 18:24
@unity-cla-assistant
Copy link

unity-cla-assistant commented Dec 5, 2022

CLA assistant check
All committers have signed the CLA.

@lucillecaillaud lucillecaillaud changed the title DO NOT MERGE ME DO NOT MERGE ME (Solutions ask) Dec 15, 2022
m_uv1_param = AbcGeom::IV2fGeomParam(geom_params, header.getName()); // obsolete
}

if (AbcGeom::IV2fGeomParam::matches(header))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this 2d Vector indexed properties.
We should probably include: Vector3 and Vector4 and Un-indexed flavours.

@@ -0,0 +1,56 @@
using System.Collections;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script is a example on how to map the custom vertex attributes to Mesh UV2-3-4 (Solution Ask)

@@ -15,6 +17,37 @@ public class AlembicCustomData : MonoBehaviour
/// </summary>
public List<string> FaceSetNames => faceSetNames;

public struct V2FAttribute
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be renamed to VertexAttributes and should include a Type field.
The data should be read from c++ as a NativeArray but presented to the user as a type safe NativeArray according to the property Type.

@@ -2,7 +2,8 @@
"dependencies": {
"com.unity.timeline": "1.0.0",
"com.unity.modules.unityanalytics": "1.0.0",
"com.unity.modules.cloth": "1.0.0"
"com.unity.modules.cloth": "1.0.0",
"com.unity.collections" : "1.0.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FixedString128 is the one that forces us to use 23.1 and "com.unity.collections"

@lucillecaillaud lucillecaillaud changed the title DO NOT MERGE ME (Solutions ask) DO NOT MERGE ME (Solutions ask - ABC-186) Dec 16, 2022
@mfe mfe changed the title DO NOT MERGE ME (Solutions ask - ABC-186) DO NOT MERGE ME (Solutions ask ) (ABC-186) Dec 20, 2022
@mfe mfe changed the title DO NOT MERGE ME (Solutions ask ) (ABC-186) DO NOT MERGE ME (Solutions ask ) (ABC-343) Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants